package com.zecan.blog.rabbitmq.event;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @ClassName SendEmailEvent
 * @Description
 * @date 2022/11/25 15:40
 * @Version 1.0
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class SendEmailEvent {

    // 接收方
    String toUser;
    // 标题
    String subject;
    // 验证码
    String content;
    //判断用户 是注册还是修改信息
    Boolean isRegistry;

}
